package transactionimplementation

import (
	AbstractTransactions "SoftwareEngineering/AbstractTransactions"
	Model "SoftwareEngineering/Model"
)
type ChangeNameTransaction struct {
	AbstractTransactions.ChangeEmployeeTransaction
	itsName string
}

func (c *ChangeNameTransaction) Change(employee Model.Employee) {
	employee.SetName(c.itsName)
}
